package com.atguigu.common.exception;

import org.omg.CORBA.UNKNOWN;

public enum BizCodeEnum {

    UNKNOWN_EXCEPTION(10000,"系统未知异常"),
    VAILD_EXCEPTION(10001,"参数异常");


    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    private int code;
    private String msg;
    BizCodeEnum(int code,String msg){
        this.code=code;
        this.msg=msg;
    }
}
